home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group99a.txt / 000027_icon-group-sender _Wed Feb 10 08:30:59 1999.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA17702
  4.     for icon-group-addresses; Wed, 10 Feb 1999 08:30:16 -0700 (MST)
  5. Message-Id: <199902101530.IAA17702@baskerville.CS.Arizona.EDU>
  6. Date: Tue, 9 Feb 1999 21:47:01 -0700
  7. From: Gregg Townsend <gmt@optima.CS.Arizona.EDU>
  8. To: clayton@jazz.cc.gatech.edu, icon-group@optima.CS.Arizona.EDU
  9. Subject: Re:  Calling C functions under Solaris.
  10. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  11. Status: RO
  12.  
  13.     From: clayton@jazz.cc.gatech.edu (R. Clayton)
  14.     
  15.     I'd like to call some C functions from with an Icon program under Solaris,
  16.     and I'm having a little trouble....
  17.     
  18.       loadfunc("./ps.so","printstring"): ld.so.1: /usr/local/public/bin/iconx:
  19.       fatal: relocation error: file ./ps.so: symbol qtos: referenced symbol not
  20.       found 
  21.     
  22.     I'm thinking I'm missing an Icon library under Solaris, but I can't
  23.     find one in the source tree or the executable directories.
  24.  
  25. No, there is no separate Icon library, so that's not it.  I'm not sure
  26. what the problem is; it worked for me on a Solaris 2.6 system using
  27. the Sun C compiler.  I did have to edit your code to fix a wrong
  28. parameter to qtos, though; if you didn't see that error, maybe you
  29. have a different configuration, or a version of Icon older than 9.3.1?
  30.  
  31.    ---------------------------------------------------------------------------
  32.    Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
  33.    Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
  34.    Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
  35.    The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246
  36.     
  37.